﻿@{
    Layout = "";
}

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
  
    var list = (List<SGTD.Entidades.clsCorreo>)ViewData["listacorreos"];
    
    <script language="JavaScript" type="text/JavaScript">
	<!--
        function MM_jumpMenu(targ, selObj, restore) { //v3.0
            eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value + "'");
            if (restore) selObj.selectedIndex = 0;
        }
	//-->
	</script>

    foreach (SGTD.Entidades.clsCorreo item in list)
    {
        <table  width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">
            <div class="tablaDetalle">
                <h3><span>Número de Correo: @item.IdCorreo</span></h3>
            
                <div class="td-col">
                    <th>De:</th>
                    <th>Asunto:</th>
                    <th>Estado:</th>
                    <th>Fecha de Recepción:</th>
                    <th>Acción:</th>
                </div>
 
                <div class="td-content">
                    <tr>
		                <td>&nbsp;</td>;
		                <td>&nbsp;</td>
		                <td>&nbsp;</td>
		                <td>&nbsp;</td>
		                <td>
                            <SELECT NAME="combo" SIZE=1 onChange="MM_jumpMenu('parent',this,0)">
				                <OPTION VALUE="http://www.google.es">Ver</OPTION>
				                <OPTION VALUE="http://www.youtube.com">Eliminar</OPTION>
			                </SELECT>
		                </td>
	                </tr>
                </div>
            </div>
        </table>
    }
}